<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<{include file="js.html"}>

<title>添加管理员</title>
<script type="text/javascript">

/*资讯-审核*/
function  add_success(suc){
	if(suc==1)
	{
		layer.msg('添加成功', {icon: 1});
				
	}
	if(suc==2)
	{
		layer.msg('修改成功', {icon: 1});
	
		
	}
	
}

 function loadData(suc)
	{
		add_success(suc);
		 $(".form").Validform({
		
	});
	}
</script> 
</head>
</head>
<body onload="loadData('<{$add_success}>')">
<div class=" box pd-20" >
	<br />
    <br />
	<form action=""  method="post" id="myForm" enctype='multipart/form-data' class="form form-horizontal" >
		<div class="row cl">
			<label class="form-label col-3"><span class="c-red">*</span>标题名称：</label>
			<div class="formControls col-5">
				<input type="text" class="input-text" value='<{$row.title}>' placeholder="" id="user-name" name="title"  datatype="*" nullmsg="分类名称不能为空"/>
			</div>
			<div class="col-4"> </div>
		</div>
		<div class="row cl" >
			<label class="form-label col-3"><span class="c-red">*</span>ID标识：</label>
			<div class="formControls col-5">
				<input type="text"   value='<{$row.id_marking}>' class="input-text" name="marking" />
			</div>
			<div class="col-4"> </div>
		</div>
        <div class="row cl" >
			<label class="form-label col-3"><span class="c-red">*</span>能否为空：</label>
			<div class="formControls col-5">
				<input type="text"  value='<{$row.import}>'  class="input-text" name="import" />
			</div>
			<div class="col-4"> </div>
		</div>
              <div class="row cl" >
			<label class="form-label col-3"><span class="c-red">*</span>排序：</label>
			<div class="formControls col-5">
				<input type="text"  value='<{$row.sort}>'  class="input-text" name="sort" />
			</div>
			<div class="col-4"> </div>
		</div>
		<div class="row cl">
			<div class="col-9 col-offset-3">
				<input type="submit" name="submit" value="发布" class="inp" />
			</div>
		</div>
	</form>
</div>

</body>
</html>